/**
 * Copyright © 2021-2025 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.billing.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.billing.domain.BillingInfo;
import com.jeeplus.billing.service.dto.BillingInfoDTO;
import org.apache.ibatis.annotations.Param;

/**
 * 结算信息MAPPER接口
 * @author xx
 * @version 2023-12-30
 */
public interface BillingInfoMapper extends BaseMapper<BillingInfo> {

    /**
     * 根据id获取处方信息
     * @param id
     * @return
     */
    BillingInfoDTO findById(String id);

    /**
     * 获取处方信息列表
     *
     * @param queryWrapper
     * @return
     */
    IPage<BillingInfoDTO> findList(Page<BillingInfoDTO> page, @Param(Constants.WRAPPER) QueryWrapper queryWrapper);


}
